home *** CD-ROM | disk | FTP | other *** search
- /* Build AnySchedule PDB */
- trace off
- say 'enter input filename (e.g. c:\mydata\sample.txt)'
- pull infile
- say 'enter output filename (e.g. c:\mydata\sample.pdb)'
- pull outfile
- reslt = builddat(infile)
- if reslt = 1 then do
- say '*******************************************'
- say '* *'
- say '* The text file was EMPTY or NOT FOUND *'
- say '* *'
- say '* The .PDB file will NOT be built *'
- say '* *'
- say '*******************************************'
- exit
- end
- reslt2 = buildhdr(reslt)
- 'copy header.fil /b + datapart.dat /b ' outfile
- exit
-
-